PointLegend
PointLegend[{col1,…},{lbl1,…}] generates a legend that associates points of colors coli with labels lbli.
PointLegend[{col1,…},Automatic] generates a legend with placeholder labels for the colors coli.
PointLegend[{lbl1,…}] represents a legend with inherited colors within visualization functions.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.